package com.example.baselibs;

import android.app.Application;

import com.alibaba.android.arouter.launcher.ARouter;

/**
 * @description:
 * @author: wangrongfeng
 * @create: 2023-06-09 11:18
 **/
public abstract class BaseApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        ARouter.init(this);
        ARouter.openLog();     // Print log
        ARouter.openDebug();
        initModuleApp(this);
    }

    public abstract void initModuleApp(Application application); //Application初始化

}
